package com.lc.question.service;

import com.lc.question.pojo.Question;

import java.util.List;

public interface IQuestionService {

    //查询某个问卷表包含的所有问题，按编号顺序排序
    public List<Question> questionList(int tab_Id);

    //查询某个题的所有选项
    public String[] question_content(int tab_Id,int num_Id);

    public int questionList2(int tab_Id,int num_Id);

    public int questionList3(String que_content,int tab_Id,int num_Id);

    //新增问题(包含发布和填写)
    public void addQuestion(Question question);

    public void updateQuestion(Question question);

    public void deleteQuestion(int tab_Id);

    public void deleteQuestion2(int tab_Id,String user_Id);

    public List<Question> queList3(int plan_Id);

    public List<Question> queList4(int plan_Id,String user_Id);


}
